@import '@/assets/mixin.scss';

.container {
  width: 1226px;
  margin: 0 auto;
  position: relative;
}

a {
  img {
    width: 100%;
    height: 100%;
  }
}

input {
  outline: none;
  box-sizing: border-box;
  font-size: 14px;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix::before,
.clearfix::after {
  content: '';
  display: table;
}

.clearfix::after {
  clear: both; // 清除浮动
}

// 公共logo
.header-logo {
  @include bgImg(55px, 55px);
  border-radius: 30%;
  background-color: #FF6600;

  a {
    display: inline-block;
    width: 110px;
    height: 55px;

    &::before {
      content: '';
      @include bgImg(55px, 55px, '/imgs/mi-logo.png');
      transition: margin .2s;
    }

    &::after {
      content: '';
      @include bgImg(55px, 55px, '/imgs/mi-home.png');
    }

    &:hover::before {
      margin-left: -55px;
      transition: margin .2s;
    }
  }
}